Ventilator hyperinflation technique